﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WordRacer.Domain.Model.Dictionaries;

namespace WordRacer.Domain.Tests.Unit.Dictionaries
{
  public static class DictionaryFixture
  {
    internal static void AssertWordCount(IGameDictionary testDictionary, int wordCount)
    {
      Assert.IsTrue(testDictionary.WordCount == wordCount);
    }

    internal static void AssertWordExists(IGameDictionary testDictionary, string wordToLookup)
    {
      Assert.IsTrue(testDictionary.Contains(wordToLookup));
    }
  }
}
